﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Advisor/AdviseUPAdvisor.master" AutoEventWireup="true" CodeFile="ManageAdmin.aspx.cs" Inherits="Advisor_ManageAdmin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Header" Runat="Server">
    <title>AdviseUP - Manage Administrators</title>
    <style>
        .boxColor {background-color:#B3D9FF;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdvisorInfo" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftButtons" Runat="Server">
    
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="BoxHeader" Runat="Server">
    <asp:Label ID="HeaderText" runat="server">Manage Administrators</asp:Label>
    <div style="float:right;">
        
    </div>
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="MainBox" Runat="Server">
    <br />
    <asp:Panel ID="ManagePanel" runat="server" Width="100%" Height="95%" ScrollBars="Vertical">
    <asp:Table ID="ManageTable0" runat="server"><asp:TableRow><asp:TableCell>
        <span style="text-decoration:underline; margin-left:5px;"> Current Administrators: </span>
    </asp:TableCell></asp:TableRow></asp:Table>
    <asp:Table ID="ManageTable1" runat="server" Width="100%">
    <asp:TableRow>
        <asp:TableCell Width="75%"><asp:ListBox ID="AdminList" runat="server" Rows="4" Width="100%"></asp:ListBox></asp:TableCell>
        <asp:TableCell Width="20%"><asp:Button ID="RemoveButton" runat="server" Text="Remove Admin" OnClick="RemoveButton_Click"/></asp:TableCell>
    </asp:TableRow></asp:Table>

    
    <asp:Table ID="ManageTable2" runat="server" Width="100%"><asp:TableRow>
       <asp:TableCell>
        <span style="text-decoration:underline; margin-left:5px;"> Current Advisors: </span>
    </asp:TableCell>
    </asp:TableRow></asp:Table>
    
    <asp:Table ID="ManageTable3" runat="server" Width="100%"><asp:TableRow>
        <asp:TableCell Width="75%"><asp:ListBox ID="AdvisorList" runat="server" Rows="4" Width="100%"></asp:ListBox></asp:TableCell>
        <asp:TableCell Width="20%"><asp:Button ID="AddButton" runat="server" Text="Add Admin" OnClick="AddButton_Click"/></asp:TableCell>
        </asp:TableRow>
    </asp:Table>

    <asp:Table ID="ManageTable4" runat="server" Width="100%">
        <asp:TableRow>
            <asp:TableCell><span style="text-decoration:underline; margin-left:5px;"> Current Advisors Not in Banner: </span></asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell Width="75%"><asp:ListBox ID="FormerAdvisors" runat="server" Rows="4" Width="100%"></asp:ListBox></asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell Width="75%"><asp:Label ID="PurgeAdvisorInstructions" runat="server">Select a previous advisor and click purge to remove </asp:Label></asp:TableCell>
            <asp:TableCell Width="20%"><asp:Button ID="PurgeAdvisor" runat="server" Text="Purge Advisor" OnClick="PurgeAdvisorButton_Click" /></asp:TableCell>
        </asp:TableRow>
    </asp:Table>

    <asp:Table ID="ManageTable10" runat="server" Width="100%">
        <asp:TableRow>
            <asp:TableCell><span style="text-decoration:underline; margin-left:5px;"> Electives Not in any schedule or template: </span></asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell Width="75%"><asp:ListBox ID="FormerElectives" runat="server" Rows="4" Width="100%"></asp:ListBox></asp:TableCell>
        </asp:TableRow>
        <asp:TableRow>
            <asp:TableCell Width="75%"><asp:Label ID="PurgeElectiveInstructions" runat="server">Select a previous elective and click purge to permanently delete </asp:Label></asp:TableCell>
            <asp:TableCell Width="20%"><asp:Button ID="PurgeElective" runat="server" Text="Purge Elective" OnClick="PurgeElectiveButton_Click" /></asp:TableCell>
        </asp:TableRow>
    </asp:Table>

    <asp:Table ID="ManageTable5" runat="server" Width="100%">
        <asp:TableRow>
            <asp:TableCell Width="75%"><asp:Label ID="MergeAdviseesInstructions" runat="server">Click sync to refresh all current Advisees from Banner</asp:Label></asp:TableCell>
            <asp:TableCell Width="20%"><asp:Button ID="MergeAdvisees" runat="server" Text="Sync Advisees" OnClick="MergeAdviseesButton_Click" /></asp:TableCell>        
        </asp:TableRow>
    </asp:Table>

    <asp:Table ID="ManageTable6" runat="server" Width="100%">
        <asp:TableRow>
            <asp:TableCell Width="75%"><asp:Label ID="MergeEmployeeInstructions" runat="server">Click sync to refresh all current Advisors from Banner</asp:Label></asp:TableCell>
            <asp:TableCell Width="20%"><asp:Button ID="MergeEmployees" runat="server" Text="Sync Advisors" OnClick="MergeEmployeesButton_Click" /></asp:TableCell>        
        </asp:TableRow>
    </asp:Table>

    <asp:Table ID="ManageTable7" runat="server" Width="100%">
        <asp:TableRow>
            <asp:TableCell Width="75%"><asp:Label ID="MergeCourseInstructions" runat="server">Click sync to refresh all current Courses from Banner</asp:Label></asp:TableCell>
            <asp:TableCell Width="20%"><asp:Button ID="MergeCourses" runat="server" Text="Sync Courses" OnClick="MergeCoursesButton_Click" /></asp:TableCell>        
        </asp:TableRow>
    </asp:Table>

    <asp:Table ID="ManageTable8" runat="server" Width="100%">
        <asp:TableRow>
            <asp:TableCell Width="75%"><asp:Label ID="MergePrereqInstructions" runat="server">Click sync to refresh all Prerequisites from Banner</asp:Label></asp:TableCell>
            <asp:TableCell Width="20%"><asp:Button ID="MergePrereqs" runat="server" Text="Sync Prereqs" OnClick="MergePrereqsButton_Click" /></asp:TableCell>        
        </asp:TableRow>
    </asp:Table>

    <asp:Table ID="ManageTable9" runat="server" Width="100%">
        <asp:TableRow>
            <asp:TableCell Width="75%"><asp:Label ID="Label2" runat="server">Click sync to refresh all current Corequisites from Banner</asp:Label></asp:TableCell>
            <asp:TableCell Width="20%"><asp:Button ID="Button2" runat="server" Text="Sync Coreqs" OnClick="MergeCoreqsButton_Click" /></asp:TableCell>        
        </asp:TableRow>
    </asp:Table>



    </asp:Panel>
</asp:Content>


<asp:Content ID="Content6" ContentPlaceHolderID="LowerLeftButtons" Runat="Server">
    <asp:Button ID="HomeButton" Text="Home" runat="server" OnClick="HomeButton_Click" /><br /><br />
    <asp:Button ID="ViewLog" Text="Log" runat="server" Enabled="false" Visible="false" /><br /><br />
    <asp:Button ID="ViewNotes" Text="Notes" runat="server" Enabled="false" Visible="false" />
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="RadioButtons" Runat="Server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="LowerRightButtons" Runat="Server">
    <asp:Button ID="HelpButton" Text="Help" runat="server" OnClick="HelpButton_Click" />    
</asp:Content>

